<script setup>
  import { ossImg } from "@/utils/utils";

  const emits = defineEmits(['close'])
</script>

<template>
  <view class="privacy-dialog">
    <image class="w-289px h-220px" :src="ossImg('personal/privacy_dialog/ystk.png')"></image>
    <image
      class="w-31px h-31px mt-40px"
      :src="ossImg('personal/privacy_dialog/ystk_close.png')"
      @click.stop="emits('close')"
    ></image>
  </view>
</template>

<style lang="scss" scoped>
  .privacy-dialog {
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, .4);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    box-sizing: border-box;
    padding-bottom: 80px;
  }
</style>
